<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>竟拍确认</title>

<style type="text/css">
	body{background: url('${ctx }/images/login_background.png') no-repeat;}
	.price { color: #FF0000}
</style>
<script type="text/javascript">

function bid_confirm(){

	var objForm = document.getElementById("bidForm");
	objForm.submit();
}

function closeWin(){

	parent.closePopupDiv("_link_div_win");
}

function init(){

	var page_title = '${requestScope.page_title}';
	var remain_time = '${requestScope.remain_time}';
	document.getElementById("page_title_hidden").value = page_title ;
	document.getElementById("remain_time_hidden").value = remain_time ;

	page_title = unescape(page_title);
	remain_time = unescape(remain_time);

	document.getElementById("page_title").innerHTML = page_title ;
	document.getElementById("remain_time").innerHTML = remain_time ;
	
}
</script>
</head>

<body onload="init()">

<div style="font-family:宋体;font-size: 14px;margin: 0 auto;">
	<div style="color: #FF0000;font-family: 幼圆;font-size: 18px;margin: 0 auto;margin-top:30px ;margin-bottom: 15px;text-align: center;">
		<span id="page_title"></span>
	</div>
	<ul style="list-style: none;line-height: 35px;padding: 0;margin: 0;text-align: center;">
		<li>${bid.currentBidRecord.customerInfo.displayName }出价：  ￥${bid.currentBidRecord.bidPrice }元</li>
		<li>您本次加价：￥${requestScope.add_price }元</li>
		<li>加价后：<span class="price">￥${requestScope.new_price }</span>元</li>
		<li>
			<input type="button" value="确认" style="padding: 5px 5px 5px 5px;cursor: pointer;" onclick="bid_confirm()"/>
		</li>
	</ul>
	<div style="text-align: center;margin-top: 15px;">离竟拍结束还有<span id="remain_time"></span></div>
</div>

<form action="${ctx }/customer/bid!bid.do" method="post" id="bidForm" name="bidForm" style="display: none;margin: 0;padding: 0">
	<input name="bid_id" id="bid_id" type="hidden" value="${requestScope.bid_id}"/>
	<input name="current_price" id="current_price" type="hidden" value="${requestScope.current_price}"/>
	<input name="add_price" id="add_price" type="hidden" value="${requestScope.add_price}"/>
	<input name="remain_time" id="remain_time_hidden" type="hidden" value=""/>
	<input name="page_title" id="page_title_hidden" type="hidden" value=""/>
</form>

<!-- 关闭按钮 begin -->
<div style="position: absolute;left: 351px;top: 13px;">
	<img src="${ctx }/images/close.gif" width="16" height="16" style="cursor: pointer;" onclick="closeWin()"/>
</div>
<!-- 关闭按钮 end -->

</body>
</html>